package com.yuebook.smartrpc.framework.model;

import java.io.Serializable;
import java.lang.reflect.Method;

/**
 * @author honglei
 * @date 2018/11/18 下午7:04
 */
public class InvokerService implements Serializable {

    private Class<?> serviceItf;

    private Object serviceObj;

    private Method serviceMethod;

    private String invokeIp;

    private int invokePort;

    private long timeout;

    private String remoteAppKey;

    private String group = "default";

    public Class<?> getServiceItf() {
        return serviceItf;
    }

    public void setServiceItf(Class<?> serviceItf) {
        this.serviceItf = serviceItf;
    }

    public Object getServiceObj() {
        return serviceObj;
    }

    public void setServiceObj(Object serviceObj) {
        this.serviceObj = serviceObj;
    }

    public Method getServiceMethod() {
        return serviceMethod;
    }

    public void setServiceMethod(Method serviceMethod) {
        this.serviceMethod = serviceMethod;
    }

    public String getInvokeIp() {
        return invokeIp;
    }

    public void setInvokeIp(String invokeIp) {
        this.invokeIp = invokeIp;
    }

    public int getInvokePort() {
        return invokePort;
    }

    public void setInvokePort(int invokePort) {
        this.invokePort = invokePort;
    }

    public long getTimeout() {
        return timeout;
    }

    public void setTimeout(long timeout) {
        this.timeout = timeout;
    }

    public String getRemoteAppKey() {
        return remoteAppKey;
    }

    public void setRemoteAppKey(String remoteAppKey) {
        this.remoteAppKey = remoteAppKey;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }
}
